package org.okami.shop.apigateway.orders.pc;

import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

/**
 * @author: TanJingyu
 * @create: 2020-12-29 10:54
 **/
public class OrderHandler {
    private WebClient webClient;

    public OrderHandler(WebClient webClient) {
        this.webClient = webClient;
    }

    public <T extends ServerResponse> Mono<T> getOrderDetails(ServerRequest serverRequest) {
//        Mono<ClientResponse> exchange = webClient.get()
//                .uri()
//                .exchange();
        return null;
    }
}
